home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
376-400
/
399
/
cclib
/
source
/
test.mke
< prev
next >
Wrap
Text File
|
1995-03-14
|
723b
|
33 lines
# --- the directory for the cclib.library include files
DINCLUDE=:include
# --- location of the special main routine
SYSOBJ=_main.o
# --- connection routines for cclib.library
CCLIB=cclib
# --- standard Aztec library
AZTECLIB=c
# --- name of the compile and link commands
CC=cc
LN=ln
# --- flags for the linker
LNFLAGS1=-m $(SYSOBJ)
LNFLAGS2=-l$(CCLIB) -l$(AZTECLIB)
# --- flags for the compiler
CFLAGS=-i$(DINCLUDE) -bs -fa -ssu -wadeopru
# --- production rule for compiling
.c.o:
$(CC) $(CFLAGS) $*.c -O $*.o
# *********** specifics for the application *********************
MKFILE=test.mke
PROGNAME=test
OBJ=test.o
$(PROGNAME): $(OBJ) $(SYSOBJ) $(MKFILE)
$(LN) $(LNFLAGS1) $(OBJ) -O $(PROGNAME) $(LNFLAGS2)